package com.diligent.cloud.sfc.model.params.inventory;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * MatInfoParams class
 *
 * @author xf107278
 * @date 4/24/2020
 */
@Data
@ToString
public class MatInfoParams {
    /**
     * 机台代码
     */
    @NotNull(message = "机台代码不能为空")
    @ApiModelProperty(value = "机台代码", position = 1)
    private String machCode;

    /**
     * 账套Id
     */
    @NotNull(message = "账套Id不能为空")
    @ApiModelProperty(value = "账套Id", position = 2)
    private Long systemId;

    /**
     * 功能编号
     */
    @NotNull(message = "功能编号不能为空")
    @ApiModelProperty(value = "功能编号", position = 3)
    private Long formId;

    @ApiModelProperty(value = "自定义1代码", position = 4)
    private String userText1;

    @ApiModelProperty(value = "自定义1名称", position = 5)
    private String userText1Name;

    @ApiModelProperty(value = "自定义2代码", position = 6)
    private String  userText2;

    @ApiModelProperty(value = "自定义2名称", position = 7)
    private String  userText2Name;
}
